@lightblue : #a6bbe5;
@darkblue : #24252a;
@gold : #ffc000;
@black : #0a0a0a;

html {
    background-color: @black;
    font-family: '宋体', serif;
    color: white;
    text-align: center;
}

* {
    margin: 0;
    padding: 0;
}

b {
    color: @gold;
    font-weight: normal;
    padding-left: 5px;
    padding-right: 5px;
}

span.normal {
    color: #a6bbe5;
}

#banner {
    position: relative;

    img {
        width: 100%;
    }
}

#body {
    position: absolute;
    width: 100%;
    top: 110px;
}

#article {

    > div.frame {
        position: relative;

        img {
            width: 100%;
        }
    }

    > div.text {
        margin-top: 110px;
        width: 100%;
        position: absolute;
        font-size: 12px;
        line-height: 1.5em;

        > div {
            display: inline-block;
            text-align: left;
        }
    }

}

#count {
    opacity: 0;
    transition: 0.3s opacity;
    font-size: 12px;
    margin-bottom: 10px;
}

button {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 0;
    min-width: 150px;
    background: none;
    transition: 0.1s all;
    box-shadow: 0 0 0 0 white inset;
    -moz-user-select: none;
    -webkit-user-select: none;

    color: #444444;
    border: solid 1px rgba(255, 255, 255, 0.1);

    &.ava {

        color: white;
        border: solid 1px rgba(255, 255, 255, 0.5);

        &:active {
            background: white;
            color: @black;
            box-shadow: 0 0 5px 20px white inset;
        }
    }
}

.decorato {
    content: '';
    background: url(img/decorate.png) center no-repeat;
    background-size: contain;
    width: 100%;
    height: 28px;
    margin: 3px 0;
    display: block;
}

footer {
    font-size: 12px;
    padding-bottom: 20px;
    opacity: 0.8;

    &::before {
        .decorato
    }

    &::after {
        background-image: url(img/decorate_reverse.png) !important;
        .decorato
    }

    &:active {
        opacity: 1;
    }
}

#dialog {
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 2;

    .shadow {
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 10;
    }

    .body {
        position: relative;
        z-index: 11;
        width: 100%;

        > div {
            padding: 20px;
            background: @darkblue;
            margin: 30px;

            > div.frame {
                position: relative;

                img {
                    width: 100%;
                }
            }

            > div.text {
                left: 0;
                width: 100%;
                position: absolute;
                font-size: 12px;
                line-height: 1.5em;

                > div {
                    display: inline-block;
                    text-align: left;
                }
            }
        }
    }
}

.input-area {
    text-align: center;
    font-size: 12px;
}

input {
    background: none;
    border: none;
    margin: 10px auto;
    text-align: center;
    padding: 4px;
    color: @gold;
    border-radius: 0;
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    display: inline-block;

    &:focus {
        border-bottom: solid 1px @gold;
    }

    &::-moz-placeholder,
    &::-webkit-input-placeholder {
        color: #666666;
    }
}

.shade {
    top: 0px;
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    z-index: 9999;

    > img {
        width: 60%;
        float: right !important;
    }
}